package org.jeecg.modules.relation.relbuildingclassroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.classroom.entity.FacClassroom;
import org.jeecg.modules.relation.relbuildingclassroom.entity.RelBuildingClassroom;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.relation.relbuildingclassroom.vo.RelBuildingClassroomVo;

import java.util.List;
import java.util.Map;

/**
 * @Description: rel_building_classroom
 * @author: baochangrong
 * @Date:   2022-02-11
 * @Version: V1.0
 */
public interface IRelBuildingClassroomService extends IService<RelBuildingClassroom> {
    /** 查询全部建筑 - 关系 - 教室 */
    IPage<RelBuildingClassroomVo> listAll(Page<RelBuildingClassroomVo> page,String tenantId);
    /** 通过教室id 删除场地（建筑）-教室关系表中记录
     * removeByClassroomId
     */

    boolean removeByClassroomId(String classroomId);

    List<RelBuildingClassroomVo> selectClassroomByBuildingId(String buildingId);

}
